package com.ciaojian.bytedance.vo.bytedance;

import lombok.Data;

import java.io.Serializable;

@Data
public class ByteOrderInfoVo implements Serializable {

    /**
     * err_no : 0
     * err_tips : success
     * data : {"order_id":"mock_order_id","out_order_no":"mock_out_order_no","refund_amount":10000,"settle_amount":0,"total_fee":10000,"pay_time":"2021-12-12 00:00:00","order_status":"SUCCESS","pay_channel":1,"channel_pay_id":"2iu208bfi2897r9hflquf","seller_uid":"287484783","item_id":"9823789736","cp_extra":"","message":"SUCCESS","payment_order_id":"abc123"}
     */

    private int err_no;
    private String err_tips;
    private DataBean data;

    @Data
    public static class DataBean implements Serializable {
        /**
         * order_id : mock_order_id
         * out_order_no : mock_out_order_no
         * refund_amount : 10000
         * settle_amount : 0
         * total_fee : 10000
         * pay_time : 2021-12-12 00:00:00
         * order_status : SUCCESS
         * pay_channel : 1
         * channel_pay_id : 2iu208bfi2897r9hflquf
         * seller_uid : 287484783
         * item_id : 9823789736
         * cp_extra :
         * message : SUCCESS
         * payment_order_id : abc123
         */

        private String order_id;
        private String out_order_no;
        private int refund_amount;
        private int settle_amount;
        private int total_fee;
        private String pay_time;
        private String order_status;
        private int pay_channel;
        private String channel_pay_id;
        private String seller_uid;
        private String item_id;
        private String cp_extra;
        private String message;
        private String payment_order_id;
    }
}
